export default {
  pages: [
    "pages/tabbar/card/card",
    "pages/load/load",
    "pages/tabbar/mall/mall",
    "pages/tabbar/website/website",
    "pages/tabbar/dynamic/dynamic",
    "pages/tabbar/home/home",
    "pages/tabbar/usercenter/usercenter",
  ],
  tabBar: {
    selectedColor: "#E22517",
    list: [
      {
        pagePath: "pages/tabbar/card/card",
        text: "我的名片",
        iconPath: "./assets/images/tabbar/card.png",
        selectedIconPath: "./assets/images/tabbar/card1.png",
      },
      {
        pagePath: "pages/tabbar/mall/mall",
        text: "民政互动",
        iconPath: "./assets/images/tabbar/shop.png",
        selectedIconPath: "./assets/images/tabbar/shop1.png",
      },
      {
        pagePath: "pages/tabbar/dynamic/dynamic",
        text: "社区风采",
        iconPath: "./assets/images/tabbar/dynamic.png",
        selectedIconPath: "./assets/images/tabbar/dynamic1.png",
      },
      {
        pagePath: "pages/tabbar/website/website",
        text: "官网",
        iconPath: "./assets/images/tabbar/website.png",
        selectedIconPath: "./assets/images/tabbar/website1.png",
      },
      {
        pagePath: "pages/tabbar/usercenter/usercenter",
        text: "我的福田",
        iconPath: "./assets/images/tabbar/adviser.png",
        selectedIconPath: "./assets/images/tabbar/adviser1.png",
      },
    ],
  },
  subPackages: [
    {
      root: "subs/card",
      pages: [
        "pages/comment/comment",
        "pages/poster/poster",
        "pages/sweep-code/sweep-code",
        "pages/knowus/knowus",
        "pages/district/district",
        "pages/website/website",
      ],
    },
    {
      root: "subs/mall",
      pages: [
        "pages/manual-horizontal/manual-horizontal",
        "pages/manual-vertical/manual-vertical",
        "pages/manuallist/manuallist",
        "pages/manual-poster/manual-poster",
      ],
    },
    {
      root: "subs/dynamic",
      pages: [
        "pages/dynamic-detail/dynamic-detail",
        "pages/text-detail/text-detail",
        "pages/dynamic-share/dynamic-share",
        "pages/video/video",
        "pages/poster/poster",
      ],
    },
    {
      root: "subs/website",
      pages: [
        "pages/card/card",
        "pages/manual/manual",
        "pages/news/news",
        "pages/recruitment/recruitment",
        "pages/web-view/web-view",
        "pages/outside/outside",
        "pages/video/video",
      ],
    },
    {
      root: "subs/usercenter",
      pages: [
        "settings/pages/userinfo/userinfo",
        "settings/pages/bind/bind",
        "settings/pages/more/more",
        "settings/pages/userphone/userphone",
        "interactive/pages/activity/activity",
        "interactive/pages/say/say",
        "interactive/pages/volunteer/volunteer",
      ],
    },
    {
      root: "subs/activity",
      pages: [
        "pages/activity-form/activity-form",
        "pages/activity-form-detail/activity-form-detail",
        "pages/activity-form-success/activity-form-success",
        "pages/choose-loaction/choose-loaction",
      ],
    },
    {
      root: "subs/briefcase",
      pages: [
        "pages/list/list",
        "pages/preview/preview",
        "pages/menu/menu",
        "pages/manual/manual",
        "pages/search/search",
      ],
    },
    {
      root: "subs/instruction",
      pages: [
        "pages/identity/identity",
        "pages/register/register",
        "pages/my-units/my-units",
        "pages/remind/remind",
        "pages/bossboard/bossboard",
        "pages/enclosure/enclosure",
        "pages/choose-folder/choose-folder",
        "pages/record-voice/record-voice",
        "pages/create/create",
        "pages/gov-list/gov-list",
        "pages/search/search",
        "pages/gov-detail/gov-detail",
        "pages/user-list/user-list",
        "pages/user-detail/user-detail",
        "pages/my-company/my-company",
        "pages/add-company/add-company",
        "pages/reply/reply",
        "pages/accept-users/accept-users",
        "pages/choose-accept/choose-accept",
      ],
    },
    {
      root: "subs/interactive",
      pages: [
        "pages/activity/activity",
        "pages/activity-create/activity-create",
        "pages/activity-detail/activity-detail",
        "pages/activity-location/activity-location",
        "pages/activity-share/activity-share",
        "pages/verified/verified",
        "pages/success/success",
        "pages/say/say",
        "pages/say-create/say-create",
        "pages/say-detail/say-detail",
        "pages/qa/qa",
        "pages/qa-detail/qa-detail",
        "pages/qa-prize/qa-prize",
        "pages/qa-prize-get/qa-prize-get",
        "pages/qa-log/qa-log",
      ],
    },
    {
      root: "subs/error",
      pages: [
        "pages/reload/reload",
        "pages/maintenance/maintenance",
        "pages/network/network",
      ],
    },
    {
      root: "subs/chat",
      pages: ["pages/detail/detail"],
    },
    {
      root: "subs/welfare",
      pages: ["pages/card-coupon/card-coupon"],
    },
    {
      root: "subs/setting",
      pages: ["pages/service-hall/service-hall"],
    },
    {
      root: "subs/csb",
      pages: ["pages/index/index", "pages/webview/webview"],
    },
    {
      root: "subs/ftqzsq",
      pages: [
        "pages/index/index",
        "pages/privacy/privacy",
        "pages/agreement/agreement",
      ],
    },
    {
      root: "subs/pazx",
      pages: [
        "pages/index/index",
        "pages/privacy/privacy",
        "pages/agreement/agreement",
      ],
    },
    {
      root: "subs/ftskt",
      pages: ["pages/index/index"],
    },
  ],
  usingComponents: {
    // network: "./components/public/network/network",
    // "login-modal": "./components/public/login-modal/login-modal",
    // "login-button": "./components/public/login-button/login-button",
    // "auth-button": "./components/public/auth-button/auth-button",
    // "auth-helper-modal":
    //   "./components/public/auth-helper-modal/auth-helper-modal",
    // "public-footer": "./components/public/public-footer/public-footer",
    // "call-modal": "./components/public/call-modal/call-modal",
    // "action-sheet": "./components/public/action-sheet/action-sheet",
    // "chat-floating": "./components/public/chat-floating/chat-floating",
    // "no-more-data": "./components/public/no-more-data/no-more-data",
    // "card-entrance": "./components/public/card-entrance/card-entrance",
    // "image-adjust": "./components/public/image-adjust/image-adjust",
    // comment: "./components/public/comment/comment",
    // "cover-form": "./components/public/cover-form/cover-form",
    // "no-data": "./components/public/no-data/no-data",
    // "dynamic-poster": "./components/dynamic/dynamic-poster/dynamic-poster",
    // "manual-share": "./components/manual/manual-share/manual-share",
    // "sweep-code": "./components/usercenter/sweep-code/sweep-code",
    // "downapp-modal": "./components/usercenter/downapp-modal/downapp-modal",
    // "highline-text": "./components/usercenter/highline-text/highline-text",
    // "card-share": "./components/card/card-share/card-share",
    // "code-modal": "./components/card/code-modal/code-modal",
  },

  window: {
    backgroundTextStyle: "dark",
    navigationBarBackgroundColor: "#fff",
    navigationBarTextStyle: "black",
    navigationBarText: "i福田",
    navigationStyle: "custom",
    backgroundColor: "#edeef2",
    onReachBottomDistance: 80,
  },
  networkTimeout: {
    request: 20000,
    connectSocket: 20000,
    uploadFile: 20000,
    downloadFile: 20000,
  },
  permission: {
    "scope.userLocation": {
      desc: "便于快速定位您的位置",
    },
  },
  preloadRule: {
    "pages/load/load": {
      packages: ["subs/card"],
    },
    "pages/tabbar/card/card": {
      packages: ["subs/card", "subs/chat"],
    },
    "pages/tabbar/dynamic/dynamic": {
      packages: ["subs/chat"],
    },
    "pages/tabbar/website/website": {
      packages: ["subs/chat"],
    },
    "pages/tabbar/usercenter/usercenter": {
      network: "all",
      packages: ["subs/chat"],
    },
  },
};
